package com.nateshao.dao;

import com.nateshao.domain.Student;
import org.springframework.stereotype.Component;

/**
 * @Author TongJie Shao
 * Created by @Author  on 2020/7/11 23:46
 */
@Component
public class StudentDao {
    public Student getStudentById(int id){
        return new Student(1,10,"nateshao");
    }

}
